

enum SCRIPTFUNC
{
	SCRIPTFUNC_NULL = -2,
	SCRIPTFUNC_CUSTOM = -1,
	SCRIPTFUNC_HavePoke,
	SCRIPTFUNC_HaveItem,
	SCRIPTFUNC_HaveSkill,
	SCRIPTFUNC_HaveSpecial,
	SCRIPTFUNC_Version,
	SCRIPTFUNC_Chance,
	SCRIPTFUNC_AdminFlag,

	SCRIPTFUNC_CreateMenu,
	SCRIPTFUNC_MenuItem,
	SCRIPTFUNC_MenuShopItem,
	SCRIPTFUNC_MenuExit,
	SCRIPTFUNC_ShowCustomMenu,

	SCRIPTFUNC_BuyItem,
	SCRIPTFUNC_GiveItem,
	SCRIPTFUNC_FindItem,
	SCRIPTFUNC_LearnSkill,
	SCRIPTFUNC_BuyPoke,
	SCRIPTFUNC_GivePoke,
	SCRIPTFUNC_GiveXP,
	SCRIPTFUNC_GiveLevel,
	SCRIPTFUNC_Evolve,
	SCRIPTFUNC_GiveSpecial,
	SCRIPTFUNC_TakeSpecial,
	SCRIPTFUNC_PokeCenter,
	SCRIPTFUNC_HealHP,
	SCRIPTFUNC_CureStatus,
	SCRIPTFUNC_ShowMenu,
	SCRIPTFUNC_Function,
	SCRIPTFUNC_TeleportTo,
	SCRIPTFUNC_MoveTo,
	SCRIPTFUNC_MoveUpdate,
	SCRIPTFUNC_MoveStop,
	SCRIPTFUNC_GiveToPoke,
	SCRIPTFUNC_EncounterPokemon,
	SCRIPTFUNC_FightEncounter,
	SCRIPTFUNC_RemoveEncounter,
	SCRIPTFUNC_Fighting,
	SCRIPTFUNC_Surfing,
	SCRIPTFUNC_EventPrint,
	SCRIPTFUNC_EventPrintAll,
	SCRIPTFUNC_Print,
	SCRIPTFUNC_ViewMap,
	SCRIPTFUNC_Random,
	SCRIPTFUNC_RandomNum,
	SCRIPTFUNC_ItemUsed,
	SCRIPTFUNC_StatBoost,
	SCRIPTFUNC_Command,
	SCRIPTFUNC_If,
	SCRIPTFUNC_And,
	SCRIPTFUNC_Or,
	SCRIPTFUNC_RegisterSayCmd,
	SCRIPTFUNC_DisplayMOTD,
}

enum SCRIPT_INFO
{
	SCRIPT_MENU,
	SCRIPT_ITEM,
	SCRIPT_POKENUM,
	SCRIPT_ENCOUNTER_ARRAY,
	SCRIPT_ITEM_USED,
	SCRIPT_ITEMS_GIVEN,
}

#define g_iScriptMenu                g_iScriptInfo[ SCRIPT_MENU ]
#define g_iScriptItem                g_iScriptInfo[ SCRIPT_ITEM ]
#define g_iScriptPokeNum             g_iScriptInfo[ SCRIPT_POKENUM ]
#define g_iScriptEncounters          Array:g_iScriptInfo[ SCRIPT_ENCOUNTER_ARRAY ]
#define g_iScriptItemUsed            g_iScriptInfo[ SCRIPT_ITEM_USED ]
#define g_iScriptItemsGiven          g_iScriptInfo[ SCRIPT_ITEMS_GIVEN ]


const SCRIPT_MAX_ARGS = 5;
//Note that if you change SCRIPT_MAX_ARGS, you need to change the CreateMultiForward for SCRIPTFUNC_CUSTOM in script.inc



